package com.kmxd.ams.infra.tmpl.tmpl;

import com.kmxd.ams.infra.tmpl.dto.ArchTmplBO;
import com.kmxd.ams.infra.tmpl.util.TmplCommon;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.compress.utils.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 档案行为表
 *
 * @author ZuoLG
 * @description:
 */
@Slf4j
@Service("log_archive")
public class TmplLogArchive implements AbstractTmpl {
  @Autowired private TmplCommon tmplCommon;

  @Override
  public List<ArchTmplBO> getTmpl() {
    List<ArchTmplBO> tmpls = Lists.newArrayList();
    ArchTmplBO archTmpl = new ArchTmplBO();
    archTmpl.setName("档案行为表");
    archTmpl.setFields(tmplCommon.getField(TmplCommon.LOG_ARCHIVE));
    tmpls.add(archTmpl);
    return tmpls;
  }
}
